const Router = require('koa-router');
const userController = require('../controllers/userController.js')

let userRouter = new Router();

userRouter.post('/users/login', userController.Login).post('/users/register', userController.Register).post('/users/edit', userController.UserInfoEdit).get(
	'/users/info', userController.UserInfo).get('/users/search',userController.UserListSearch)
module.exports = userRouter
